package com.google.android.gms.internal;

import android.os.Bundle;
import com.google.android.gms.ads.internal.zzbt;
import com.google.android.gms.common.internal.Hide;

@Hide
@zzabh
public final class zzahp {
    private final Object mLock;
    private final zzahq zzatv;
    private final String zzdcz;
    private int zzdek;
    private int zzdel;

    private zzahp(zzahq zzahq, String str) {
        this.mLock = new Object();
        this.zzatv = zzahq;
        this.zzdcz = str;
    }

    public zzahp(String str) {
        this(zzbt.zzeq(), str);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }
        zzahp zzahp = (zzahp) obj;
        return this.zzdcz != null ? this.zzdcz.equals(zzahp.zzdcz) : zzahp.zzdcz == null;
    }

    public final int hashCode() {
        if (this.zzdcz != null) {
            return this.zzdcz.hashCode();
        }
        return 0;
    }

    public final Bundle toBundle() {
        Bundle bundle;
        synchronized (this.mLock) {
            bundle = new Bundle();
            bundle.putInt("pmnli", this.zzdek);
            bundle.putInt("pmnll", this.zzdel);
        }
        return bundle;
    }

    public final void zze(int i, int i2) {
        synchronized (this.mLock) {
            this.zzdek = i;
            this.zzdel = i2;
            this.zzatv.zza(this);
        }
    }

    public final String zzqh() {
        return this.zzdcz;
    }
}
